# -*- coding: utf-8 -*-
from django.conf.urls import include, url

from .views import *


from rest_framework.routers import DefaultRouter

router = DefaultRouter()

router.register('message', MessageViewSet)
# router.register('devices', ZnjjDeviceViewSet)
# router.register('zone', ZnjjZoneViewSet)

urlpatterns = [
    # url(r'^loaddevices', loaddevices),
    # url(r'^tongji', tongji),
    # url(r'^controlexecl', controlexecl),
    # url(r'^sendorder', sendorder),
    # url(r'^websocketznjj', websocketznjj),
]


urlpatterns += router.urls